<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script src="socket.io.js"></script>
</head>
<body>
<script>
    var socket = io.connect('http://tools.itharbors.com:4000');
    socket.on('news', function (data) {
        console.log(data);
    });
    socket.send("Hello Socket.IO!");
</script>
</body>
</html>